package com.baseDemo.web.service.catalog;

import java.util.List;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;


import com.baseDemo.web.entity.CatalogEntity;
import com.share.service.baseServiceSupport.BaseService;

public interface CatalogService extends BaseService<CatalogEntity>{
	public Set<CatalogEntity> getChildren(CatalogEntity parent);
	
	public List<CatalogEntity> getChildren(String nodeId,HttpServletRequest request);
	
	public String updateCatalogText(CatalogEntity catalogEntity);
	
	public String addCatalog(CatalogEntity catalogEntity);
	
	public String updateCatalogParent(String id, String newParent);
	
	public String deleteCatalog(CatalogEntity catalogEntity);
}
